import url from '../url-config.js'
import { Api } from './ApiClass'
import req from '../request'
export const warnApi = new Api(url.setting.warn.warn)
warnApi.exportData = ({ enterpriseId }) => {
    return req.get(
        url.setting.warn.export,
        {
            enterpriseId,
        },
        'arraybuffer',
    )
}
